import request from '@/utils/request'

// 查询系统架构列表
export function listSolutionsystem(query) {
  return request({
    url: '/tianqi/solutionsystem/list',
    method: 'get',
    params: query
  })
}

// 查询系统架构详细
export function getSolutionsystem(id) {
  return request({
    url: '/tianqi/solutionsystem/' + id,
    method: 'get'
  })
}

// 新增系统架构
export function addSolutionsystem(data) {
  return request({
    url: '/tianqi/solutionsystem',
    method: 'post',
    data: data
  })
}

// 修改系统架构
export function updateSolutionsystem(data) {
  return request({
    url: '/tianqi/solutionsystem',
    method: 'put',
    data: data
  })
}

// 删除系统架构
export function delSolutionsystem(id) {
  return request({
    url: '/tianqi/solutionsystem/' + id,
    method: 'delete'
  })
}
